package com.wgg.common.codec;

/**
 * @author WSH
 */
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

public interface Serializer {
	

	 public Object deserialize(InputStream in) throws IOException,ClassNotFoundException;
	
	 
	 public void serialize(OutputStream os, Object object) throws IOException;
}
